package com.RuiJi.service;

import com.RuiJi.entity.Dish;
import com.RuiJi.entity.dto.DishDto;
import com.baomidou.mybatisplus.extension.service.IService;

public interface DishService extends IService<Dish> {


    //新增菜品同时操作口味数据
    public void saveWithFlavor(DishDto dishDto);

    //根据ID查询菜品和口味信息
    public DishDto getByIdWithFlavor(Long id);

    //更新菜品同时更新口味
    public void updateWithFlavor(DishDto dishDto);
}
